class AssertUtil:
    @classmethod
    def tpshop_login_assert(cls,login_resp,status_code,status,msg):
        assert status_code == login_resp.status_code
        assert status == login_resp.json().get('status')
        assert msg == login_resp.json().get('msg')

    @classmethod
    def tpshop_register_assert(self,register_resp,status_code,status,msg):
        assert status_code == register_resp.status_code
        assert status == register_resp.json().get('status')
        assert msg == register_resp.json().get("msg")
